package cn.iocoder.yudao.module.system.wechat_card.dto.giftcard;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class ItemListDTO implements Serializable {

    @Schema(description = "待上架的card_id”", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "待上架的card_id不能为空")
    private String card_id;

    @Schema(description = "商品名，不填写默认为卡名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "商品名不能为空")
    private String title;

    @Schema(description = "商品缩略图，1000像素*600像素以下", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String pic_url;

    @Schema(description = "商品简介", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String desc;

}
